
  IRQPULSE_TYPICAL_TIMEOUT                EQU       0x00010000
  IRQ_PULSE_IRQ0                          EQU       0x00000001
  IRQ_PULSE_IRQ1                          EQU       0x00000002
  IRQ_PULSE_IRQ2                          EQU       0x00000004
  IRQ_PULSE_IRQ3                          EQU       0x00000008
  IRQ_PULSE_IRQ4                          EQU       0x00000010
  IRQ_PULSE_IRQ5                          EQU       0x00000020
  IRQ_PULSE_IRQ6                          EQU       0x00000040
  IRQ_PULSE_IRQ7                          EQU       0x00000080
  IRQ_PULSE_IRQ8                          EQU       0x00000100
  IRQ_PULSE_IRQ9                          EQU       0x00000200
  IRQ_PULSE_IRQ10                         EQU       0x00000400
  IRQ_PULSE_IRQ11                         EQU       0x00000800
  IRQ_PULSE_IRQ12                         EQU       0x00001000
  IRQ_PULSE_IRQ13                         EQU       0x00002000
  IRQ_PULSE_IRQ14                         EQU       0x00004000
  IRQ_PULSE_IRQ15                         EQU       0x00008000

  IDESTM_FAILURE                          EQU       0x00000000
  IDESTM_NOERROR                          EQU       0x00000001
  IDESTM_NOT_SUPPORTED                    EQU       0x00000002 ; The Set Transfer Mode Command is not supported

  IDE_TRANSFERMODE_BLOCK                  EQU       0x00000000
  IDE_TRANSFERMODE_SINGLEWORD_DMA_MODE0   EQU       0x00000010
  IDE_TRANSFERMODE_SINGLEWORD_DMA_MODE1   EQU       0x00000011
  IDE_TRANSFERMODE_SINGLEWORD_DMA_MODE2   EQU       0x00000012
  IDE_TRANSFERMODE_SINGLEWORD_DMA_MODE3   EQU       0x00000013
  IDE_TRANSFERMODE_MULTIWORD_DMA_MODE0    EQU       0x00000020

  IDESBS_FAILURE                          EQU       0x00000000
  IDESBS_NOERROR                          EQU       0x00000001
  IDESBS_NOT_SUPPORTED                    EQU       0x00000002 ; Block-count is not supported

  IDES_FAILURE                            EQU       0x00000000
  IDES_NOERROR                            EQU       0x00000001
  IDES_DRIVE_NOT_FOUND                    EQU       0x00000002

  IDER_FAILURE                            EQU       0x00000000  ; Wrong parameter or general failure
  IDER_NOERROR                            EQU       0x00000001  ; Success
  IDER_TRACK0_NOT_FOUND                   EQU       0x00000002  ; Cylinder0 could not be reached
  IDER_DRIVE_NOT_FOUND                    EQU       0x00000004  ; The selected drive was not found

  ID_FAILURE                              EQU       0x00000000
  ID_NOERROR                              EQU       0x00000001
  ID_FORMATTER_DEVICE_ERROR               EQU       0x00000002
  ID_SECTOR_BUFFER_ERROR                  EQU       0x00000003
  ID_ECC_CIRCUITRY_ERROR                  EQU       0x00000004
  ID_CONTROLLING_MICROPROCESSOR_ERROR     EQU       0x00000005
  ID_DRIVE1_FAILED                        EQU       0x00000080

  IDE_PC_PRESENT                          EQU       0x00000001 ; PRIMARY CONTROLLER IS PRESENT
  IDE_SC_PRESENT                          EQU       0x00000002 ; SECONDARY CONTROLLER IS PRESENT
  IDE0_ON_PC_PRESENT                      EQU       0x00000004 ; #0 ON PRIMARY CONTROLLER IS PRESENT
  IDE1_ON_PC_PRESENT                      EQU       0x00000008 ; #1 ON PRIMARY CONTROLLER IS PRESENT
  IDE0_ON_SC_PRESENT                      EQU       0x00000010 ; #0 ON SECONDARY CONTROLLER IS PRESENT
  IDE1_ON_SC_PRESENT                      EQU       0x00000020 ; #1 ON SECONDARY CONTROLLER IS PRESENT

